/**
 * 
 */
package com.lemote.action.order;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lemote.action.BaseAction;
import com.lemote.core.PropertyFilter;
import com.lemote.entity.FailReport;
import com.lemote.exception.AppException;
import com.lemote.service.order.FailReportService;

/**
 * @author wuhui
 * 
 *         下午12:04:19
 */
@Service("failReportAction")
public class FailReportAction extends BaseAction<FailReport, FailReportService> {

	@Override
	public String delete() throws AppException {
		
		return null;
	}

	@Override
	public String input() throws AppException {
		return null;
	}

	@Override
	public String list() throws AppException {
		List<PropertyFilter> filters = PropertyFilter
				.buildFromHttpRequest(request);
		page = entityService.search(page, filters);
		return SUCCESS;
	}

	@Override
	public void prepareModel() throws AppException {

	}

	@Override
	public String save() throws AppException {
		return null;
	}

	@Autowired
	@Override
	public void setEntityService(FailReportService entityService) {
		this.entityService = entityService;
	}

	@Override
	public FailReport getModel() {
		return null;
	}

}
